/* Trucs par defaut */
* {margin:0px;padding:0px;border-width:0px;}
body {background-color:#fff;color:#000;}

/* On cache les trucs qui servent a rien */
.legende_heures {display:none;}
.heure_cours {display:none;}
.jour_france {display:none;}
dl {list-style-type:none;}
dt {list-style-type:none;}
li {list-style-type:none;}

#liste_heures {display:block;position:absolute;left:-1px;top:0px;width:100%;height:100%;z-index:1;}
#liste_heures ol {display:block;position:absolute;left:6%;top:0px;width:94%;height:100%;}
#liste_heures li {display:block;position:absolute;height:100%;border-left:1px dashed #aaa;border-right:1px dashed #aaa;font-size:0.7em;width:13%;text-align:center;line-height:2em;font-family:"bitstream vera sans",sans-serif;font-style:italic;font-weight:bold;white-space:nowrap;}

#liste_jours {position:absolute;top:0.5%;left:0%;height:99%;width:100%;}

.jour_groland {position:absolute;display:block;font-family:"bitstream charter",serif;font-style:italic;text-align:center;width:6%;top:50%;margin-top:-0.4em;font-size:0.9em;font-weight:bold;}
.nom_jour {display:block;position:absolute;width:100%;height:18%;left:0%;overflow:hidden;z-index:0;}
.nom_jour.current {background-color:#eee;border-top:1px solid #333;border-bottom:1px solid #333;margin-top:-1px;}

.infos_jour {display:block;position:absolute;width:94%;height:18%;left:6%;overflow:hidden;z-index:2;}

.infos_cours {display:block;position:absolute;overflow:hidden;background-position:bottom right;background-repeat:no-repeat;}


/* Style des infos dans un bloc */
.infos_cours li {font-family:"bitstream vera sans","verdana",sans-serif;}
.nom {display:block;font-weight:bold;font-size:0.7em;width:100%;position:absolute;bottom:50%;margin-bottom:-0.3em;line-height:0.9em;text-align:center;z-index:4;}
.salle  {font-size:0.6em;display:block;position:absolute;left:1px;bottom:0px;z-index:6;white-space:nowrap;}
.module {font-size:0.6em;display:block;position:absolute;bottom:0px;right:0px;color:#555;width:100%;text-align:right;z-index:5;background-position:bottom right;background-repeat:no-repeat;}
.groupe {text-align:right;font-size:0.5em;padding-right:1px;}

/* Machins spécifiques */
/* .un_seul_groupe .groupe {display:none;} */
.duree_30m .nom {display:none;}
.duree_30m .module {color:#888;}
.duree_30m .salle {font-size:0.5em;}
.slots_3.duree_90m .nom {font-size:0.6em;white-space:nowrap;}
.slots_3.duree_195m .nom {font-size:0.6em;white-space:nowrap;}
.slots_4.duree_90m .nom {display:none;}
.slots_4.duree_90m .module {color:#888;}
.slots_4.duree_195m .nom {font-size:0.6em;position:absolute;top:0px;bottom:auto;margin-bottom:0px;}
.slots_5.duree_90m .nom {display:none;}
.slots_5.duree_195m .nom {display:none;}
.slots_5.duree_90m .module {right:0px;font-size:0.5em;color:#888;}
.slots_5 .module {right:0.5em;}
.slots_5.duree_90m .salle {font-size:0.5em;}
.slots_6 .nom {display:none;}
.slots_6 .module {right:0.5em;}
.slots_7 .nom {display:none;}
.slots_7 .module {right:0.5em;}
.slots_8 .nom {display:none;}
.slots_8 .module {right:0.5em;}

/* Placement par jour */
.j_Lundi    {top:5%;}
.j_Mardi    {top:24%;}
.j_Mercredi {top:43%;}
.j_Jeudi    {top:62%;}
.j_Vendredi {top:81%;}

/* Placement par heure */
.heure_08h00 {left:0%;}
.heure_09h45 {left:14%;}
.heure_11h30 {left:28%;}
.heure_13h15 {left:42%;}
.heure_15h00 {left:56%;}
.heure_16h45 {left:70%;}
.heure_18h15 {left:83%;}
.heure_18h30 {left:84%;}

/* Coloration par type */
.type_TD {background-image:url(bg-td.png);background-color:#a7a7f1;}
.type_TP {background-image:url(bg-tp.png);background-color:#c1a7f1;}
.type_CM {background-image:url(bg-cm.png);background-color:#f1a7c1;}

/* Placement par slot */
.slots_1 {height:100%;}
.slotpos_1 {top:0%;height:100%;} /* marche pour tous :p */

.slots_2 {height:50%;}
.slotpos_2.slots_2 {top:50%;height:50%;}

.slots_3 {height:33.333%;}
.slotpos_2.slots_3 {top:33.333%;}
.slotpos_3.slots_3 {top:66.667%;}

.slots_4 {height:25%;}
.slotpos_2.slots_4 {top:25%;height:25%;}
.slotpos_3.slots_4  {top:50%;height:25%;}
.slotpos_4.slots_4  {top:75%;height:25%;}

.slots_5 {height:20%;}
.slotpos_2.slots_5 {top:20%;}
.slotpos_3.slots_5 {top:40%;}
.slotpos_4.slots_5 {top:60%;}
.slotpos_5.slots_5 {top:80%;}

.slots_6 {height:16.667%;}
.slotpos_2.slots_6 {top:16.667%;}
.slotpos_3.slots_6 {top:33.333%;}
.slotpos_4.slots_6 {top:50%;}
.slotpos_5.slots_6 {top:66.667%;}
.slotpos_6.slots_6 {top:83.333%;}

.slots_7 {height:14.286%;}
.slotpos_2.slots_7 {top:14.286%;}
.slotpos_3.slots_7 {top:28.571%;}
.slotpos_4.slots_7 {top:42.857%;}
.slotpos_5.slots_7 {top:57.143%;}
.slotpos_6.slots_7 {top:71.429%;}
.slotpos_7.slots_7 {top:85.714%;}

.slots_8 {height:12.5%;}
.slotpos_2.slots_8 {top:12.5%;}
.slotpos_3.slots_8 {top:25%;}
.slotpos_4.slots_8 {top:37.5%;}
.slotpos_5.slots_8 {top:50%;}
.slotpos_6.slots_8 {top:62.5%;}
.slotpos_7.slots_8 {top:75%;}
.slotpos_8.slots_8 {top:87.5%;}

/* Dimention selon la durée du cours */
.duree_30m  {width:5%;} /* Special */
.duree_65m  {width:9%;} /* Special */
.duree_90m  {width:13%;}
.duree_105m {width:14%;} /* Special */
.duree_180m {width:26%;} /* Special */
.duree_195m {width:27%;}
.duree_300m {width:41%;}
.duree_405m {width:55%;}
.duree_510m {width:69%;}
.duree_615m {width:83%;}
.duree_720m {width:97%;}
